import { Menu } from 'antd'
import React from 'react'
import styles from './Header.module.css'
import Link from 'next/link'
console.log(styles)
function Header(params) {
  return (
    <div>
      <Menu mode="horizontal">
        <Menu.Item key="home">
          <Link href="/">首页</Link>
        </Menu.Item>
        <Menu.Item key="list">
          <Link href="/list">list</Link>
        </Menu.Item>
        <Menu.Item key="home2">
          <Link href="/detailed">detail</Link>
        </Menu.Item>
      </Menu>
    </div>
  )
}

export default Header
